package com.javaee.dao;

import com.javaee.entity.User;

public interface UserDao {

	/**
	 * 根据名字查找
	 * @return
	 */
	public User getByName(String name);
	
	public int updateUser(User user);
	
	public int addUser(User user);
}
